package org.uim.cricket.db.impl;

public class ExistMatch extends DBBooleanResultQuery {

	private String mId = null;
	
	public ExistMatch(String matchID) {
		mId = matchID;
	}
	
	public boolean exists() {
		if (mId == null || mId.length() == 0) return false;
		
		try {
			
			return super.result("CALL sp_Exist_Match('" + mId + "');"); 
			
		} catch (Exception e) {
			e.printStackTrace();
		} 
		
		return false;
	}
	
	
}
